﻿using System.ComponentModel;

namespace Jinjia.Approve.Model.Enum
{
    /// <summary>
    /// 结果状态码。
    /// </summary>
    public enum OAApiResultCode
    {
        [Description("处理成功")] Ok = 0,
        [Description("处理失败")] Failed = 1,
        [Description("缺少配置")] MissConfig = 2,
        [Description("暂不支持")] NotSupported = 3,
        [Description("格式不正确")] IncorrectFormat = 4,
        [Description("参数错误")] IncorrectParams = 5,
        [Description("授权失败")] AuthFailed = 6,
        [Description("找不到数据")] DataNotFound = 7,
        [Description("数据异常")] DataError = 8,
        [Description("找不到用户")] UserNotFound = 9
    }
}